package com.lsjenglish.englishstudy.mapper;

import com.lsjenglish.englishstudy.domain.ShowEnglishWorldEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Lsj
 * @version 1.0
 * @date 2021/7/19 20:05
 */
@Mapper
public interface ShowEnglishWorldMapper {
    /**
     * 返回主界面全部信息
     * @return 信息
     */
    List<ShowEnglishWorldEntity> englishWorld();

    /**
     * 信息
     * @param showEnglishWorldEntity 要修改的信息
     * @return 信息
     */
    int updateSword(ShowEnglishWorldEntity showEnglishWorldEntity);
}
